//
//  MZYthirdTableViewCell.m
//  WristWatch
//
//  Created by dllo on 15/11/2.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MZYthirdTableViewCell.h"

#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height
@implementation MZYthirdTableViewCell

- (void)dealloc {
    [_leftLabel release];
    [_rightLabel release];
    
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.leftLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.leftLabel];
        [_leftLabel release];
        
        self.rightLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.rightLabel];
        [_rightLabel release];

    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.leftLabel.frame = CGRectMake(0, HEIGHT / 2, self.contentView.frame.size.width , self.contentView.frame.size.height / 2);
    self.rightLabel.frame = CGRectMake(WIDTH / 3, self.contentView.frame.size.height / 2, WIDTH / 2, 20);
}






- (void)awakeFromNib {
    // Initialization code
    
}







- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
